package com.vben.ai.playground.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @TableName playground_score
 */
@TableName(value = "playground_score")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlaygroundScore implements Serializable {
    @TableId
    @JsonSerialize(using = com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long id;

    private String name;

    private String code;

    private BigDecimal chinese;

    private BigDecimal math;

    private BigDecimal english;

    @Serial
    private static final long serialVersionUID = 1L;
}